Convert to activity areas

Activity area designs are often created in different software before being imported into this application. While the software provides tools to draw activity area designs from scratch, you can also convert existing designs from external data.

With the Convert to activity areas feature, you convert designs into activity areas. The designs may have associated metadata, which can be referenced to automatically configure the activity areas – including details like the associated name, mining level, assigned pit, and so on. The designs can be in the form of polygons or solids.

The conversion feature helps automate the activity area design process, making it quicker and easier to replicate an externally designed plan with complex mining shapes.

Converting feature layer polygons to mining activity areas. The selected polygons are mapped to a mining level and extruded using the reserving logic.

The metadata within the imported objects can be referenced to automate the conversion. For example, each object’s metadata fields could specify the required activity area name, mining level, and pit. In this case, you can rapidly convert the selected objects to activity areas using the correct inputs.

Converting objects to activity areas

Activity area designs can be derived from various sources, including feature layers, guidance files, or grade control files.

Initiate the conversion

You perform the conversion on the Guidance, Feature Layer, or Grade Control tabs. You can select any combination of items to convert into activity areas. Only one type of object can be converted at a time.

For steps on how to convert a type of object go to:

In terms of feature layers, each object within the feature layers is loaded. The software identifies each type of object and stores its ID and any other metadata associated with the object. This data is useful for deriving activity areas from feature layer metadata (see Reference metadata below).

Import objects to convert

Summarising the types of objects you can convert, they include:

Convert from type

The conversion configuration depends on the types of objects you’re working with.

Convert from polygons

The software extrudes the selected polygons from the specified mining level up to the topography—removing portions of other intersecting activity areas with the same type—to form the activity area solid.

Two polygons converted to Mining (green) and Drilling (red) activity areas. Each polygon was extruded from a specified elevation to the topography to create the activity area solid. Both polygons were converted at the same time: in the conversion configuration, by referencing the polygons’ metadata, each polygon was mapped to a certain activity.

Convert from solids

Solids can be converted to activity areas.

A solid must be allocated to a mining level. This assignment doesn’t change the actual elevation of the solid.

The result of converting a grade control solid (green) into a Drilling activity area (red) using the Solid method.

Reference metadata

It’s convenient to convert a set of objects at a time – rather than individually. For example, after importing solids that represent drilling patterns on a bench, simultaneously converting the solids is more efficient than doing it one by one. However, the objects likely require differing conversion configurations: being mapped to specific activities, pits, mining levels, naming conventions, and so on.

You could have differing drilling activity area types, managing different pattern conditions like burden, spacing, and depth. These activity areas are externally designed as solids and imported into XECUTE. The metadata saved to each solid indicates its associated conditions (the drilling activities, the mining level, name…). For the conversion, the solids require different combinations of inputs.

When converting several objects, if the objects will have different conversion inputs (which is likely the case), the input expressions shouldn’t be static (each returning a single value for all objects). Rather, within the conversion configuration, you can prepare dynamic filters and expressions—that reference the imported object’s metadata—to assess the given object (like a polygon in a feature layer) and derive the required input.

Let’s say the imported polygons (outlining the required activity area shapes) have a rigid naming structure. The Name metadata field specifies the required activity name area of each polygon. Rather than converting the polygons one by one or renaming the polygons after a bulk conversion with static inputs, you could reference the Name metadata field in the Area Name Format expression to automatically derive each activity area’s name.

Definition

Area Name Format

Filter Expression

Drilling

Name

Activity = "Drilling"

Mining

Name

Activity = "Mining” 

Referencing the Activity metadata field, in the activity area filter expression, so that an activity area is generated for the matching object and activity.

Property

Input

Pit Expression

Pit

Mining Level Expression

MiningLevel

Mapping the correct pit and mining level to each activity area by referencing the appropriate metadata fields

A diagram of the resulting activity area shapes

This approach makes converting objects requiring different inputs quick, allowing you to respond to rapidly changing plans. It also prevents you from relying on overly grouping objects within feature layers to manage and bulk convert them.

Input expressions

In the conversion configuration, you can reference metadata of the imported feature layers in the:

The following items can be referenced in a conversion expression:

• All metadata fields for the selected objects.

Activity filters

When simultaneously converting many objects, each object could require different activity associations. In the conversion configuration, you can provide parameters to dictate whether a shape is created for the corresponding activity.

Each activity row includes an optional filter expression that assesses the given object and can reference its metadata. If the object meets the circumstances of the expression (returns True), an activity area will be created for that object and activity combination.

Conversion properties

Activities

This section determines the activities involved in the conversion. The software will generate an activity area for each selected object and activity combination.

Without using filters:

  • If you select one object (like a solid), and if you select two activities, the software will generate two activity areas.

  • If you select three objects, and if you select three activities, the software will generate nine activity areas.

Using filters, you can select multiple activities – but generate activity areas only for matching input objects.

When multiple activity areas are generated for a single object, those activity areas exist in the same space – overlapping each other.

A table includes a row for each activity in the project. Select the checkbox of an activity to assign it to the converted activity areas.

Activity Checkbox

Defines whether the given activity is involved in the conversion.

Unless filters are used, the software will create an activity area for each selected object and activity combination.

Definition

Specifies the name of the activity.

Area Name Format

An expression that allocates a name to each activity area generated from the given object.

The expression must return a text result. It can reference metadata fields from the selected import files as well as relevant system fields, including:

  • Activity Definition Name (the default activity name, derived from ConfigActivities)

  • Identifier

  • Mining Level Name (the mining level that the activity area will sit on, derived from Site ManagementDefine mining levels).

  • Pit Name (the name of the activity area’s associated pit, derived from Site ManagementMaterial flow diagram).

A feature layer, guidance file, or grade control file could have several objects (like many polygons or solids). You might want different activities allocated to different objects. For example, there could be two polygons. One polygon should become a Mining activity area, and the other should become a Drilling activity area.

Using filters, you can match specific activities to specific objects.

Filter Checkbox

Defines whether a filter is active for the given activity.

Filter Expression

A filter expression that determines whether an activity area will be created for a given object (like a polygon in a feature layer) and activity (like Mining) combination.

The expression evaluates the given object, including its metadata field values. For the given activity:

  • If the result of the expression returns True, an activity area will be created for that object.

  • Otherwise, an activity area won’t be created for that object.

The expression should reference and evaluate the metadata of the objects to derive a result.

Let’s say several polygons have a metadata field named Activity.

Object

Field

Value

Polygon1

Activity

Mining

Polygon2

Activity

Mining

Polygon3

Activity

Drilling

Certain polygons should be matched to specific activities.

  • Mining activity areas should be created only for Polygon1 and Polygon2.

  • A Drilling activity area should be created only for Polygon3.

To correctly match objects to activity areas, these expressions are entered:

Definition

Filter Expression

Drilling

Activity = "Drilling"

Mining

Activity = "Mining"

Looking at the result:

  • For the Drilling activity, only Polygon3 returns True. Therefore, a Drilling activity area will be created using only Polygon3.

  • For the Mining activity, only Polygon1 and Polygon2 return True.

    Therefore, a Mining activity area will be created using only Polygon1 and Polygon2.

Without these filters, an activity area would be created for all selected object and activity combinations.

Spatial Settings

Activity areas must belong to a specific pit.

Pit

Defines how each converted activity area is assigned to a pit.

  • Predefined: All activity areas will be assigned to a specified pit.

  • Expression: A dynamic expression evaluates each object and returns the name of a pit.

Pit Specification

Manually allocates all converted activity areas to the selected pit.

Pit Expression

An expression that evaluates each object (i.e., the polygons in a feature layer) to be converted. The expression determines the pit assigned to each object’s associated activity area (or activity areas when multiple activity areas are generated from the same object). The expression must return the name of a pit.

The expression can examine the metadata field values of the objects to derive a result. Prepare the expression in the expression builder.

Let’s say the objects have a metadata field named Pit, with a value representing the object’s intended pit.

Object

Field

Value

Intended Pit

Polygon1

Pit

East

East Pit

Polygon2

Pit

East

East Pit

Polygon3

Pit

West

West Pit

To assign each object to the correct pit, the expression is simply Pit.

An activity area must associate with a specific mining level. The mining level represents the elevation of the floor of the activity area.

  • For polygons, the software will downwardly extrude the polygon to the specified mining area. This extrusion forms the activity area solid.

  • For solids, an extrusion may occur, depending on whether you use the Polygon or Solid method. If it does occur, the software downwardly extrudes the solid’s floor to the specified mining level to form the activity area solid.

Mining Level

Defines how each converted activity area is assigned to a mining level.

  • Predefined: All activity areas will be assigned to a specified mining level.

  • Expression: A dynamic expression evaluates each object and returns the name of a mining level.

Mining Level Specification

Manually allocates all converted activity areas to the selected mining level.

Mining Level Expression

An expression that evaluates each object to be converted. The expression determines the mining level assigned to each object’s associated activity areas.

The expression can examine the metadata field values of the objects to derive a result. Prepare the expression in the expression builder.

Let’s say the objects have a metadata field named MiningLevel, with a value representing the object’s intended mining level.

Object

Field

Value

Intended Level

Polygon1

MiningLevel

LVL-1200

1200

Polygon2

MiningLevel

LVL-1200

1200

Polygon3

MiningLevel

LVL-1100

1100

To assign each object to the correct mining level, expression is simply MiningLevel.

Import Type

Tells the software how to convert the selected objects. The options available depend on the object types identified in the input files.

  • Solids: Activity areas are derived directly from the selected solids. No extrusion occurs.

  • Polygons: The software takes the selected polygons then extrudes them from the specified mining level to the topography.

  • Polygons as floor: The same extrusion occurs, however the polygon defines the shape of the activity area solid’s floor.

Simplification Tolerance

Input polygons might have an excessive number of points, resulting in overly complicated shapes that can affect the software’s processing time. Before converting the polygons to activity areas, you can use simplification to reduce the number of points in the polygon while retaining its essential shape.

Using this property, specify a number that represents the degree of the simplification.